package cn.chendd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Gateway 网关服务启动类
 *
 * @author chendd
 * @date 2022/12/24 16:48
 */
@SpringBootApplication
@EnableDiscoveryClient
public class GatewayApplication {

    @SuppressWarnings("all")
    public static void main(String[] args) {
        //设置启用Netty Access Logs
        System.setProperty("reactor.netty.http.server.accessLogEnabled" , "true");
        SpringApplication.run(GatewayApplication.class , args);
    }

}
